<me:UIAP04M x:Class="WPFExcelReport.TFPSTPCOND"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                     xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT"   
                     xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"  
                    xmlns:APF="clr-namespace:WPFExcelReport;assembly=TAPFOLGE"     
                    xmlns:ATK="clr-namespace:WPFExcelReport;assembly=TAPARTK" 
                    xmlns:ATE="clr-namespace:WPFExcelReport;assembly=TAPARTE"
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:WS="clr-namespace:WPFExcelReport;assembly=TWASTAMM"  
                    xmlns:WF="clr-namespace:WPFExcelReport;assembly=TWAFARBEN"  
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAP04M.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIAP04M.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="1*"/> 
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions> 
        <StackPanel Grid.Row="0"   > 
            <WrapPanel> 
                <Button Click="DeleteCommand" Height="20" Margin="5,0,0,0" Width="24"  Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}">
                    <Button.Background>
                        <ImageBrush  ImageSource="/ImagePackage;component/Images/Remove.png" />
                    </Button.Background>
                </Button>    
                    <ex:TXT72
                    IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                    Text="{Binding APKSPEZIF,Converter={StaticResource gb2312}}" Width="200" />
                </WrapPanel> 
        </StackPanel>  
        <APF:TAP04COND Grid.Row="1"  
                          Name="cAP04" 
                          IsAutoAPK="True" 
                           IsEdit="{Binding IsEdit,ElementName=TV}"
                           IsSaved="{Binding IsSaved,ElementName=TV}"
                           ARTST="{Binding ARTST,ElementName=TV}"
                          DES="{Binding DES,ElementName=TV}"
                          EXAUF="{Binding KEY,ElementName=TV}"
                          QTY="{Binding QTY,ElementName=TV}"
                          IsAuto="True"   />
    </Grid>
</me:UIAP04M>
